import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
  {
    path:'/',
    component: ()=>import('../view/Home.vue'),
    children:[
      {
        path:'',
        component:()=>import('../view/Main/Main.vue'),
        alias:'software'
      },
      {
        path:'one',
        component:()=>import('../view/Main/Main1.vue'),
        alias:'software'
      },
      {
        path:'two',
        component:()=>import('../view/Main/Main2.vue'),
        alias:'software'
      },
      {
        path:'particulars',
        component:()=>import('../view/Main/Particulars.vue'),
      }
    ]
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router